/*
 * Copyright (c) 2010-2021 Contributors to the Eclipse Foundation
 * 
 * See the NOTICE file(s) distributed with this work for additional
 * information regarding copyright ownership.
 * 
 * This program and the accompanying materials are made available under the
 * terms of the Eclipse Public License 2.0 which is available at
 * http://www.eclipse.org/legal/epl-2.0
 * 
 * SPDX-License-Identifier: EPL-2.0
 */

/* Editor 
 * 
 * Styling Editor means styling the Editor inside iframe container (dijitEditorIFrameContainer)
 * 
 * 1. Editor iframe container (default styling): 
 * 		.dijitEditorIFrameContainer - normal state styles: background-color, border, padding
 *
 * 2. hovered Editor iframe container (ie, mouse hover on editor)
 * 		.dijitEditorHover .dijitEditorIFrameContainer/dijitEditorIFrame - styles when mouse hover on the container
 * 
 * 3. focused Editor iframe container (ie, mouse focus on the editor pane)
 * 		.dijitEditorFocused .dijitEditorIFrameContainer/dijitEditorIFrame - styles when container focused
 * 
 * 3. disabled Editor iframe container 
 * 		.dijitEditorDisabled - editor's inner iframe container disable status styles: background, border
 */
.oneui .dijitEditorIFrameContainer {
  padding: 15px;
  background-color: #fff;
}
.oneui .dijitEditor {
  border: 1px solid #ccc;
}
.oneui .dijitEditorFocus {
  border: 1px solid #ccc;
}
/* Disabled */
.oneui .dijitEditorDisabled {
  border: 1px solid #d3d3d3;
}
.oneui .dijitDisabled .dijitEditorIFrame, .oneui .dijitDisabled .dijitEditorIFrameContainer, .oneui .dijitDisabled .dijitEditorIFrameContainer .dijitEditorIFrame {
  background-color: #f3f3f3;
}
.oneui .dijitEditorDisabled .dijitEditorIFrame, .oneui .dijitEditorDisabled .dijitEditorIFrameContainer, .oneui .dijitEditorDisabled .dijitEditorIFrameContainer .dijitEditorIFrame {
  background-color: #f3f3f3;
  color:#aaa !important;
}